package com.audaque.springboot.foshanupload.web.webdemo.mapper.covert;

import com.audaque.springboot.foshanupload.web.webdemo.mapper.anno.EnglishToGerman;
import com.audaque.springboot.foshanupload.web.webdemo.mapper.anno.GermanToEnglish;
import com.audaque.springboot.foshanupload.web.webdemo.mapper.anno.TitleTranslator;


//用自定义注解标记类和方法
@TitleTranslator
public class TypeCoverter2 {
    @EnglishToGerman
    public String translateTitleEG(String title) {
        return "1";
    }
    @GermanToEnglish
    public String translateTitleGE(String title) {
        return "2";
    }
}



